package kr.hkit.powerjava.alone.windowbuider;

import javax.swing.JPanel;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

public class FooterPanel extends JPanel implements ActionListener {
	private JPanel panel;
	private JButton btnEnter;
	private JButton btnCancel;

	/**
	 * Create the panel.
	 */
	public FooterPanel() {

		initialize();
	}
	private void initialize() {
		
		panel = new JPanel();
		add(panel);
		
		btnEnter = new JButton("입력");
		btnEnter.addActionListener(this);
		panel.add(btnEnter);
		
		btnCancel = new JButton("뒤로");
		panel.add(btnCancel);
	}

	public void actionPerformed(ActionEvent e) {
		if(e.getActionCommand().equals("입력")){
			int empno;
		}
	}
}
